<nz-card [nzBordered]="false">
  <!--<section class="search-section">-->
    <!--<input nz-input placeholder="微信昵称、感恩墙昵称、直接推荐人" [(ngModel)]="keyword" class="search-item"/>-->
    <!--<button nz-button [nzType]="'primary'" nzGhost (click)="search()"  class="search-item">-->
      <!--<i class="anticon anticon-search"></i><span>搜索</span>-->
    <!--</button>-->
  <!--</section>-->
  <nz-table #nzTable [nzData]="page.content"
            [nzPageSize]="page.size"
            [nzTotal]="page.totalElements"
            [nzFrontPagination]="false"
            [(nzPageIndex)]="page.number"
            (nzPageIndexChange)="changePageNo($event)"
            [nzLoading]="isLoading">
    <thead>
    <tr>
      <th>序号</th>
      <th  style="max-width: 460px;">下单人</th>
      <th>下单人手机号</th>
      <th>获得时间</th>
      <th>比率</th>
      <th>金额</th>
      <th>是否发放成功</th>
      <th>备注</th>
      <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of nzTable.data;let i=index">
      <td>
        {{i+1}}
      </td>
      <td style="max-width: 460px;">{{data.orderCusName}}</td>
      <td>{{data.orderCusPhone}}</td>
      <td>{{data.saveDate}}</td>
      <td>{{data.ratio}}</td>
      <td>{{(data.amount/100).toFixed(2)}}</td>
      <td style="max-width: 200px;">{{data.payStatus|yesNoPipe}}<span *ngIf="data.payStatus == 2 && data.amount != '0'" [title]="data.errCodeDes">({{data.errCodeDes?(data.errCodeDes|stringEllipsisCutPipe:16):"未发放"}})</span></td>
      <td style="max-width: 180px;" [title]="data.remark">{{data.remark|stringEllipsisCutPipe:13}}</td>
      <td>
        <a href="javascript:void (0);" (click)="seeEntity(data)">查看详情</a>
      </td>
    </tr>
    </tbody>
  </nz-table>
</nz-card>
